/*
 * @Date: 2024-11-18 15:20:39
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2024-11-18 15:20:40
 * @Description: 日志管理相关接口
 */


import { defAxios as request } from '@/utils/http';


/**
 * 审核日志
 * @returns {*}
 */
export function useLogsApi() {
    return {
        taskOperateLogs: () => {
            return request({
                url: '/task/operateLogs',
                method: 'get',
            });
        },
        getProcessImg (params) {
          return request({
            url: '/task/generateProcessImg',
            method: 'get',
            params: params,
          });
        }
    }
}
